﻿namespace Ocelot.Admin.Api.Application
{
    public interface IDictionaryService
    {
        #region 查询
        /// <summary>
        /// 分页查询字典信息
        /// </summary>
        /// <returns></returns>
        Task<SqlSugarPagedList<Dictionary>> GetPageDictionaryAsync(BasePageRequest request);

        /// <summary>
        /// 查询字典项信息
        /// </summary>
        /// <param name="dictionaryType"></param>
        /// <returns></returns>

        Task<List<BaseSelectDto<string>>> GetDictionaryItemAsync(string dictionaryType);

        #endregion
    }
}